package co.edu.sanmartin.persistence.dto;

import java.io.Serializable;
import java.util.Date;

import co.edu.sanmartin.persistence.constant.ESourceType;

public class SourceDTO implements Serializable{

	private static final long serialVersionUID = 6744317037759698777L;
	private String name;
	private String url;
	private Date lastQuery;
	private long sinceId = 0L;
	private ESourceType type;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public ESourceType getType() {
		return type;
	}
	public void setType(ESourceType type) {
		this.type = type;
	}
	
	public Date getLastQuery() {
		return lastQuery;
	}
	public void setLastQuery(Date lastQuery) {
		this.lastQuery = lastQuery;
	}
	public long getSinceId() {
		return sinceId;
	}
	public void setSinceId(long sinceId) {
		this.sinceId = sinceId;
	}

}
